from django.urls import path
from . import views

urlpatterns = [
    path('starter/datalist/', views.get_test_list),  # 数据集列表
    path('starter/overview/', views.get_overview),  # 全局概览图
    path('starter/list/default/', views.get_default_table),  # table的默认数据
    path('starter/overview/selection/', views.query_selection),  # 全局概览图选中数据查询
    path('starter/overview/selection/counts/', views.query_selection_counts),
    path('starter/overview/selection/trend/',
         views.query_selection_trend),  # 全局概览图中选中数据的趋势数据查询
    path('starter/overview/selection/trend_by_channel/',
         views.query_selection_trend_by_channel),
    path('starter/overview/selection/dataset_trend/', views.query_dataset_trend),
    path("starter/overview/selection/types_by_dates/", views.query_types_by_dates),
    path('starter/detail/', views.test_detail),  # table选中test_id，查询对应数据
    path('starter/feature/list/', views.feature_list),  # 获取所有特征的数组
    path('starter/feature/trend/', views.feature_trend),  # 绘制特征趋势线
    path("starter/feature/trend_selected/",
         views.feature_selected_trend),  # 刷选范围后的特征趋势
    path('starter/feature/raw_line/', views.feature_raw_line),
    # path('starter/feature/coord/', views.feature_coord),  # 绘制平行坐标轴所需数据
    path('starter/feature/coord_v2/', views.feature_coord_v2),
    # path('starter/feature/coord_highlight/', views.feature_coord_highlight),
    path("starter/feature/of_points/", views.feature_single),
    # 获取Channel Analysis里需要的channels
    path("starter/channel_list/", views.channel_list),
]
